AmeliaBooking\Application\Services\Reservation\EventReservationService D

Total Complexity 160
Dependencies 31
Dependents 0
Total lines 1,106
Lines of code 672
Logical lines of code 281
Comment lines 219
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
book()
D
20
50 203
isBookable()
D
32 41 92
getPaymentAmount()
B
41 19 47
getWooCommerceDataFromArray()
A
38 14 70
getWooCommerceData()
A
40 11 58
getReservationPaymentAmount()
S
54 6 21
getReservationByPayment()
S
45 3 44
getBookingResultByBookingId()
S
47 2 38
getReservationByBookingId()
S
53 2 25
updateStatus()
S
54 2 22
getBookingPeriods()
S
61 2 14
manageTaxes()
S
60 2 13
getProvidersPaymentAmount()
S
61 2 12
isExtraAggregatedPrice()
S
82 1 3
isAggregatedPrice()
S
81 1 3
getBookableEntity()
S
75 1 4
getType()
S
82 1 3